package com.example.houtai.mapper;

import com.example.houtai.entity.SysRegion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.org.dto.SysRegionDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 地区表 Mapper 接口
 * </p>
 *
 * @author 龚梦
 * @since 2021-03-22
 */
public interface SysRegionMapper extends BaseMapper<SysRegion> {

    List<SysRegionDto> selectregion(@Param("pid") int i,@Param("level")int j);

    List<SysRegion> getByparent(Integer id);
}
